package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Workline;

public interface WorklineMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Workline record);

    int insertSelective(Workline record);

    Workline selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Workline record);

    int updateByPrimaryKey(Workline record);
    
    //自定义接口
    List<Workline> findByList(Workline record);
    List<Workline> findByListForPage(Workline record);
    int findByCount(Workline record);
	Workline findByCode(String code);
}